
<div class="col-md-6  text-left text-center-xs fl ">
  <ul class="pagination  m-t-sm m-b-none">
    <li {$data.page<=1?'style="display:none;"':''} >
    <a href="javascript:;" onclick="changePage({$data.page-1})">
      上一页
    </a>
    </li>
    <li {$data.page<=3?'style="display:none;"':''}>
    <a href="javascript:;" onclick="changePage({$data.page-3})">
      {$data.page-3}
    </a>
    </li>
    <li {$data.page<=2?'style="display:none;"':''}>
    <a href="javascript:;" onclick="changePage({$data.page-2})">
      {$data.page-2}
    </a>
    </li>
    <li {$data.page<=1?'style="display:none;"':''}>
    <a href="javascript:;" onclick="changePage({$data.page-1})">
      {$data.page-1}
    </a>
    </li>
    <li class="active">
      <a href="javascript:;">
        {$data.page}
      </a>
    </li>
    <li {$data.page>=$data.page_count?'style="display:none;"':''}>
      <a href="javascript:;" onclick="changePage({$data.page+1})">
        {$data.page+1}
      </a>
    </li>
    <li {$data.page>=$data.page_count-1?'style="display:none;"':''}>
      <a href="javascript:;" onclick="changePage({$data.page+2})">
        {$data.page+2}
      </a>
    </li>
    <li {$data.page>=$data.page_count-2?'style="display:none;"':''}>
      <a href="javascript:;" onclick="changePage({$data.page+3})">
        {$data.page+3}
      </a>
    </li>
    <li {$data.page>=$data.page_count?'style="display:none;"':''}>
      <a href="javascript:;" onclick="changePage({$data.page+1})">
        下一页
      </a>
    </li>
  </ul>
  <ul class="pagination pagination-sm m-t-sm m-b-none" data-pages-total="{$data.page_count}" data-page-current="{$data.page}"></ul>
</div>